home *** CD-ROM | disk | FTP | other *** search
- Path: soap.news.pipex.net!pipex!usenet
- From: m.hendry@dial.pipex.com (Mathew Hendry)
- Newsgroups: comp.sys.amiga.graphics
- Subject: Re: ILBM to MPEG Conversion
- Date: Sun, 21 Jan 96 00:09:03
- Organization: Private node.
- Distribution: world
- Message-ID: <19960121.439D20.2DA@al068.du.pipex.com>
- References: <9601202108.AA0000f@treecres.demon.co.uk>
- NNTP-Posting-Host: al068.du.pipex.com
- X-Newsreader: TIN [AMIGA 1.3 950726BETA PL0]
-
- David Pearl (david@treecres.demon.co.uk) wrote:
- : I have an ILBM animation which I would like to have a go at converting to
- : MPEG. I have split the anim into single frames and tried to use Easy MPEG
- : from Aminet. The program produces the GOPs but the mpeg encode does not
- : work and gives an Illegal Instruction Error. Do I need a FPU to run this
- : program, if so are there any ILBM to MPEG converters that do not need an
- : FPU to work.
-
- mpeg_encode does not need an FPU (and the version included with EasyMPEG does
- not use one if present either, AFAIK). The most common problem with
- mpeg_encode, and EasyMPEG, which uses it, is insufficient stack space, which
- can easily produce crashes like you describe. Try running it with about 200000
- bytes of stack; I've never had any problems with that value here.
-
- BTW, mpeg_encode really isn't that hard to use on its own, without EasyMPEG
- driving it. Convert your ILBMs to PPM files and it's then a matter of plugging
- the values into the config file and running the program. Below is an example
- config file, which produces reasonable quality results. You will need to
- change the lines marked with [*] to match your setup. Remove the [*]s before
- using it, of course ;)
-
- --- CUT ---
-
- PATTERN IBBBPBBB
- OUTPUT anims:mons_h.mpeg [*]
- BASE_FILE_FORMAT PPM
- YUV_SIZE 160x128 [*]
- INPUT_CONVERT *
- GOP_SIZE 8
- SLICES_PER_FRAME 1
- INPUT_DIR apps:graphics/vista/anim [*]
- INPUT
- mons_h*.ppm [00000-00190] [*]
- END_INPUT
- PIXEL HALF
- RANGE 10
- PSEARCH_ALG EXHAUSTIVE
- BSEARCH_ALG CROSS2
- IQSCALE 4
- PQSCALE 8
- BQSCALE 8
- REFERENCE_FRAME DECODED
- FORCE_ENCODE_LAST_FRAME
-
- --- CUT ---
-
- and type "mpeg_encode <name of config file>" to set it going.
-
- Also BTW, I hope your ILBM animation is 24 bit. MPEG encoders _hate_ the
- dithering introduced by using only a few colours in an animation. If you
- have used dithering, you will get a much better quality (and smaller) result
- if you smooth each frame of the animation prior to encoding.
-
- : I know very little about the MPEG format and I am looking for something
- : easy to use like Easy MPEG.
-
- ImageFX has an MPEG encoder which is said to be very easy to use, though I
- haven't used it myself. Whether you want to shell out on ImageFX just to
- produce MPEGs is up to you and your wallet, I suppose ;)
-
- : Also is there a software MPEG decoder for MPEG2 (CDI Films) - Power advertise
- : an MPEG Film Decoder with their CD Drives.
-
- As far as I know, no. The only MPEG decoders I've seen for the Amiga are MPEG1.
- There may be commercial solutions of which I'm unaware, though.
-
- -- Mat.
-